<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width= , initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <button id="yiren">一人之下</button>
    <button id="csgo">csgo</button> <br>
    <img src="./imgs/一人之下.webp" alt="">

    <script>
        var yiren = document.getElementById('yiren');
        var csgo = document.getElementById('csgo');
        var img = document.querySelector('img');

        yiren.onclick = function() {
            img.src = './imgs/一人之下.webp'
            
        }
        csgo.onclick = function() {
            img.src = './imgs/csgo3.0.png'
        }
    </script>
</body>
</html>